
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  <title>SL&#39;s Blog</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta property="og:type" content="website">
<meta property="og:title" content="SL&#39;s Blog">
<meta property="og:url" content="http://caltyang.cn/index.html">
<meta property="og:site_name" content="SL&#39;s Blog">
<meta property="og:locale" content="default">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="SL&#39;s Blog">
  
  
    <link rel="icon" href="/favicon.png">
  
  <link rel="stylesheet" href="/css/style.css">
  <!--[if lt IE 9]><script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.min.js"></script><![endif]-->
  
</head>
<body>
<div id="container">
  <div id="wrap">
    <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">SL&#39;s Blog</a>
      </h1>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/">Home</a>
        
          <a class="main-nav-link" href="/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
        <a id="nav-search-btn" class="nav-icon" title="Search"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//www.baidu.com/baidu" method="get" accept-charset="utf-8" class="search-form">
          <input type="search" name="word" maxlength="20" class="search-form-input" placeholder="Search">
          <input type="submit" value="" class="search-form-submit">
          <input name=tn type=hidden value="bds">
          <input name=cl type=hidden value="3">
          <input name=ct type=hidden value="2097152">
          <input type="hidden" name="si" value="caltyang.cn">
        </form>
      </div>
    </div>
  </div>
</header>
    <div class="outer">
      <section id="main">
  
    <article id="post-使用SSH隧道和内网渗透访问家中服务器" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2018/10/23/使用SSH隧道和内网渗透访问家中服务器/" class="article-date">
  <time datetime="2018-10-23T04:36:00.000Z" itemprop="datePublished">2018-10-23</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2018/10/23/使用SSH隧道和内网渗透访问家中服务器/">使用SSH隧道和内网渗透访问家中服务器</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>场景如下，家中有一台自己攒的Linux电脑，有时候需要学习一些东西，都在那台电脑上进行，比如研究k8s，可以在上面搭建环境。但是问题是，在出了家里局域网，想要外网访问相对麻烦，且虽然有一些成熟的内网解决方案，但是因为不像直接暴露机器到DMZ，每个内网渗透一般只能绑定一个端口，而我们很多时候需要用的端口是不固定，且多个。这时候为每个端口买个渗透明显就不划算了。所以本文记录现在自己使用的一种解决方案</p>
<blockquote>
<p>Natapp做内网渗透 + SSH隧道解决多端口问题</p>
</blockquote>
        
          <p class="article-more-link">
            <a href="/2018/10/23/使用SSH隧道和内网渗透访问家中服务器/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
      
        <a data-url="http://caltyang.cn/2018/10/23/使用SSH隧道和内网渗透访问家中服务器/" data-id="cjnlj8fbh000ih9jbnash490f" class="article-share-link">Share</a>
      

      

      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Linux/">Linux</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-单例的几种写法" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2018/06/11/单例的几种写法/" class="article-date">
  <time datetime="2018-06-11T05:14:32.000Z" itemprop="datePublished">2018-06-11</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2018/06/11/单例的几种写法/">单例的几种写法</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>本文记录Java种单例的编写方式</p>
<h1 id="0x01-饿汉式-线程安全"><a href="#0x01-饿汉式-线程安全" class="headerlink" title="0x01 饿汉式(线程安全)"></a>0x01 饿汉式(线程安全)</h1><hr>
<p>饿汉式单例的写法是比较简单的一种写法，案例如下<br><figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">public</span> <span class="class"><span class="keyword">class</span> <span class="title">Singleton</span> </span>&#123;</span><br><span class="line"></span><br><span class="line">    <span class="keyword">private</span> <span class="keyword">static</span> <span class="keyword">final</span> Singleton INSTANCE = <span class="keyword">new</span> Singleton();</span><br><span class="line"></span><br><span class="line">    <span class="function"><span class="keyword">private</span> <span class="title">Singleton</span><span class="params">()</span></span>&#123;</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">    <span class="function"><span class="keyword">public</span> <span class="keyword">static</span> Singleton <span class="title">getInstance</span><span class="params">()</span></span>&#123;</span><br><span class="line">        <span class="keyword">return</span> INSTANCE;</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure></p>
        
          <p class="article-more-link">
            <a href="/2018/06/11/单例的几种写法/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
      
        <a data-url="http://caltyang.cn/2018/06/11/单例的几种写法/" data-id="cjnlj8fbf000gh9jby6xbml4u" class="article-share-link">Share</a>
      

      

      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Java/">Java</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-记OSX中遇到的一次Finder文件灰化的问题" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2018/01/14/记OSX中遇到的一次Finder文件灰化的问题/" class="article-date">
  <time datetime="2018-01-14T07:18:08.000Z" itemprop="datePublished">2018-01-14</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2018/01/14/记OSX中遇到的一次Finder文件灰化的问题/">记OSX中遇到的一次Finder文件灰化的问题</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>。这几天沉迷于看《晓说》，加上家里的NAS（群晖）也到位了，就尝试了一下把晓说的视频扒下来，留作收藏，结果在整理文件的时候遇到了一个挺有趣的事情，所以记录一下：<br>
        
          <p class="article-more-link">
            <a href="/2018/01/14/记OSX中遇到的一次Finder文件灰化的问题/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
      
        <a data-url="http://caltyang.cn/2018/01/14/记OSX中遇到的一次Finder文件灰化的问题/" data-id="cjnlj8fbt0011h9jb7uhs5e2j" class="article-share-link">Share</a>
      

      

      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/OSX/">OSX</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-记一次解决CLOSE-WAIT" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/12/23/记一次解决CLOSE-WAIT/" class="article-date">
  <time datetime="2017-12-23T11:45:42.000Z" itemprop="datePublished">2017-12-23</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/12/23/记一次解决CLOSE-WAIT/">记一次解决CLOSE_WAIT</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>。今天在工作中遇到了Nginx请求大量CLOSE_WAIT的状态，如图:<br><img src="http://slblogimg.oss-cn-beijing.aliyuncs.com/images/20171223/problem.jpg" alt=""><br>
        
          <p class="article-more-link">
            <a href="/2017/12/23/记一次解决CLOSE-WAIT/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
      
        <a data-url="http://caltyang.cn/2017/12/23/记一次解决CLOSE-WAIT/" data-id="cjnlj8fbv0014h9jb3jfq05cn" class="article-share-link">Share</a>
      

      

      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/网络/">网络</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-用Nginx进行反向代理" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/12/04/用Nginx进行反向代理/" class="article-date">
  <time datetime="2017-12-04T06:12:01.000Z" itemprop="datePublished">2017-12-04</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/12/04/用Nginx进行反向代理/">用Nginx进行反向代理</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>这几天整了个博客，用的 Hexo，托管在了 GitCafe 和 GitHub 上，都是 Pages 服务，虽然 Github 可能比格更高一点，但是比较国内还是 GitCafe 比较快，所以干脆 Hexo 中配置了两个仓库，每次写完hexo d 可以都推上去，Cafe 如果挂了，还能去 Hub 上看看~ 俩地址：GitCafe、GitHub，Hexo 的 config 配置如下：<br><img src="http://slblogimg.oss-cn-beijing.aliyuncs.com/images/20151204/hexoconfig.png" alt=""></p>
        
          <p class="article-more-link">
            <a href="/2017/12/04/用Nginx进行反向代理/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
      
        <a data-url="http://caltyang.cn/2017/12/04/用Nginx进行反向代理/" data-id="cjnlj8fbo000th9jbatsiuh91" class="article-share-link">Share</a>
      

      

      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/架构/">架构</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-使用supervisor管理进程" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/03/08/使用supervisor管理进程/" class="article-date">
  <time datetime="2017-03-08T05:31:22.000Z" itemprop="datePublished">2017-03-08</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/03/08/使用supervisor管理进程/">使用supervisor管理进程</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h2 id="简介"><a href="#简介" class="headerlink" title="简介"></a>简介</h2><hr>
<p>。Supervisor是一个基于Python的进程管理工具，可以用来监督某个进程是否持续运行，如果意外退出，自动启动等</p>
<h2 id="安装配置"><a href="#安装配置" class="headerlink" title="安装配置"></a>安装配置</h2><hr>
<p>。安装可以直接使用pip进行安装<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo pip install supervisor</span><br></pre></td></tr></table></figure></p>
<p>。默认的配置在 /etc/supervisor 下<br>。Supervisor配置支持include，所以我们可以针对一个进程写一个配置文件，然后在总的配置文件中include这些文件（支持通配符）<br>
        
          <p class="article-more-link">
            <a href="/2017/03/08/使用supervisor管理进程/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
      
        <a data-url="http://caltyang.cn/2017/03/08/使用supervisor管理进程/" data-id="cjnlj8fbi000kh9jbfkero675" class="article-share-link">Share</a>
      

      

      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/linux/">linux</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-SpringBoot中开启热部署" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/03/05/SpringBoot中开启热部署/" class="article-date">
  <time datetime="2017-03-05T05:57:36.000Z" itemprop="datePublished">2017-03-05</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/03/05/SpringBoot中开启热部署/">SpringBoot中开启热部署</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>SpringBoot中开启热部署<br>使用 spring-boot-devtool 可以用来实现热部署，即代码（比如接口）有变动，不需要重启应用，在保存代码时即会自动进行部署操作<br>。好像是在 SpringBoot 1.3+ 引入<br><img src="http://slblogimg.oss-cn-beijing.aliyuncs.com/images/20170305/banner.png" alt=""><br>
        
          <p class="article-more-link">
            <a href="/2017/03/05/SpringBoot中开启热部署/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
      
        <a data-url="http://caltyang.cn/2017/03/05/SpringBoot中开启热部署/" data-id="cjnlj8fb60005h9jbkxfnhvkb" class="article-share-link">Share</a>
      

      

      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Spring/">Spring</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-命令行中如何科学上网" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/03/05/命令行中如何科学上网/" class="article-date">
  <time datetime="2017-03-05T05:52:24.000Z" itemprop="datePublished">2017-03-05</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/03/05/命令行中如何科学上网/">命令行中如何科学上网</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>。自己科学上网使用的是ShadowSocks<br>。通过自己在境外或者购买三方ShadowSocks的服务器，即可配置链接，在本地搭建个代理（一般监听1080端口）<br>。当需要访问一些外国网站时，比如在Chrome下，使用 Proxy SwitchyOmega 等将请求转发到本机的 1080 端口，即可代理出去，正常访问网站，详情参考官网：<a href="https://switchyomega.com/" target="_blank" rel="noopener">https://switchyomega.com/</a><br>。同理，在Linux等环境下，配置本机的代理，Socket 到 localhost1080 也可以科学上网，但是一个比较坑的问题是，在使用的软件不支持代理的情况下，比如终端（这里我用的iTerm），如何指定请求到1080端口，就成了一个问题</p>
<h2 id="proxychain-ng"><a href="#proxychain-ng" class="headerlink" title="proxychain-ng"></a>proxychain-ng</h2><hr>
<p>。proxychain就是这样一个工具，通过配置，我们可以指定命令行里面的命令通过1080端口去科学上网<br>。比如我们使用mvn安装一些依赖，因为正常情况下都是访问apache的服务器，其速度真的是够慢的，然而通过proxychain，我们就可以很大的提速，比如命令<br>
        
          <p class="article-more-link">
            <a href="/2017/03/05/命令行中如何科学上网/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
      
        <a data-url="http://caltyang.cn/2017/03/05/命令行中如何科学上网/" data-id="cjnlj8fbr000xh9jboqgzgh5x" class="article-share-link">Share</a>
      

      

      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/工具/">工具</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-开启ActiveMQ的JMX" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/02/16/开启ActiveMQ的JMX/" class="article-date">
  <time datetime="2017-02-16T11:36:42.000Z" itemprop="datePublished">2017-02-16</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/02/16/开启ActiveMQ的JMX/">开启ActiveMQ的JMX</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>。以5.12.0为例<br>。之前版本略有不同，主要是 ACIVEMQ_SUNJMX_xxx 的地方不同，老版本可能直接放在了 activemq 的 shell 脚本中，5.12 移至和脚本同级目录的 env 下<br>
        
          <p class="article-more-link">
            <a href="/2017/02/16/开启ActiveMQ的JMX/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
      
        <a data-url="http://caltyang.cn/2017/02/16/开启ActiveMQ的JMX/" data-id="cjnlj8fbs0010h9jb6pibfn8g" class="article-share-link">Share</a>
      

      

      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Java/">Java</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-使用mapStruct进行BeanMap" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2016/12/23/使用mapStruct进行BeanMap/" class="article-date">
  <time datetime="2016-12-23T06:58:39.000Z" itemprop="datePublished">2016-12-23</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2016/12/23/使用mapStruct进行BeanMap/">使用mapStruct进行BeanMap</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>。MapStruct是一个BeanMap的方案，可以让我们很方便的进行Bean之间转换<br><img src="http://slblogimg.oss-cn-beijing.aliyuncs.com/images/20161223/mapstruct.png" alt=""></p>
<h2 id="What-and-Why"><a href="#What-and-Why" class="headerlink" title="What and Why"></a>What and Why</h2><hr>
<p>MapStruct是一个可以让我们很方便进行BeanMap的工具，因为我们知道，在Java开发中，经常会遇到几种领域对象，参考博文：<br>。这时候，我们就有了经常需要将几个领域对象进行互转的需求了<br>
        
          <p class="article-more-link">
            <a href="/2016/12/23/使用mapStruct进行BeanMap/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
      
        <a data-url="http://caltyang.cn/2016/12/23/使用mapStruct进行BeanMap/" data-id="cjnlj8fbb000ch9jb17hdpyx1" class="article-share-link">Share</a>
      

      

      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Java/">Java</a></li></ul>

    </footer>
  </div>
  
</article>


  


  <nav id="page-nav">
    <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><a class="extend next" rel="next" href="/page/2/">Next &raquo;</a>
  </nav>
</section>
      
      <aside id="sidebar">
  
    
  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tags</h3>
    <div class="widget">
      <ul class="tag-list"><li class="tag-list-item"><a class="tag-list-link" href="/tags/Java/">Java</a><span class="tag-list-count">7</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Linux/">Linux</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Maven/">Maven</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/OSX/">OSX</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Spring/">Spring</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/linux/">linux</a><span class="tag-list-count">3</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/工具/">工具</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/数据库/">数据库</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/架构/">架构</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/网络/">网络</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/设计/">设计</a><span class="tag-list-count">1</span></li></ul>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tag Cloud</h3>
    <div class="widget tagcloud">
      <a href="/tags/Java/" style="font-size: 20px;">Java</a> <a href="/tags/Linux/" style="font-size: 10px;">Linux</a> <a href="/tags/Maven/" style="font-size: 10px;">Maven</a> <a href="/tags/OSX/" style="font-size: 13.33px;">OSX</a> <a href="/tags/Spring/" style="font-size: 10px;">Spring</a> <a href="/tags/linux/" style="font-size: 16.67px;">linux</a> <a href="/tags/工具/" style="font-size: 13.33px;">工具</a> <a href="/tags/数据库/" style="font-size: 10px;">数据库</a> <a href="/tags/架构/" style="font-size: 10px;">架构</a> <a href="/tags/网络/" style="font-size: 10px;">网络</a> <a href="/tags/设计/" style="font-size: 10px;">设计</a>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Archives</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/10/">October 2018</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/06/">June 2018</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/01/">January 2018</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/12/">December 2017</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/03/">March 2017</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/02/">February 2017</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/12/">December 2016</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/10/">October 2016</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/09/">September 2016</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/04/">April 2016</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/03/">March 2016</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/01/">January 2016</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/08/">August 2015</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/12/">December 2014</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/09/">September 2014</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/06/">June 2013</a><span class="archive-list-count">1</span></li></ul>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Recent Posts</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2018/10/23/使用SSH隧道和内网渗透访问家中服务器/">使用SSH隧道和内网渗透访问家中服务器</a>
          </li>
        
          <li>
            <a href="/2018/06/11/单例的几种写法/">单例的几种写法</a>
          </li>
        
          <li>
            <a href="/2018/01/14/记OSX中遇到的一次Finder文件灰化的问题/">记OSX中遇到的一次Finder文件灰化的问题</a>
          </li>
        
          <li>
            <a href="/2017/12/23/记一次解决CLOSE-WAIT/">记一次解决CLOSE_WAIT</a>
          </li>
        
          <li>
            <a href="/2017/12/04/用Nginx进行反向代理/">用Nginx进行反向代理</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
      
    </div>
    <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      &copy; 2018 Shawn Liu<br>
      Powered by <a href="//hexo.io/" target="_blank">Hexo</a>
      .
      Theme by <a href="https://github.com/xiangming/landscape-plus" target="_blank">Landscape-plus</a>
    </div>
  </div>
</footer>
  </div>
  <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">Home</a>
  
    <a href="/archives" class="mobile-nav-link">Archives</a>
  
</nav>
  <!-- totop start -->
<div id="totop">
<a title="totop"><img src="/img/scrollup.png"/></a>
</div>

<!-- totop end -->


<!-- 百度分享 start -->

<!-- 百度分享 end -->

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>




<script src="/js/script.js"></script>

</div>
</body>
</html>
